package com.pojo.vo;

import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;

@Data
public class CVideoVo {
    MultipartFile file;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private String videoName;
    private String videoPath;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long praise;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long comment;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userNum;
    private Date publishTime;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long cityNum;
    private String picturePath;
}
